Pascal Minic's profile

Trash Panda Extern Project

Trash Panda

Trash Panda is a game where players have to catch and recycle all kinds of garbage that is thrown at the ground by a raccoon that is looking to destroy the forest the game is taking place in. To prevent this, the players swap between heroes to catch the right type of trash. My task within the team that made this game was to develop the entire game in Unity3D, including the coding.



In the GIF above you can see one of the main features of the game, the bouncing of objects on the wood obstacles. This is mainly done by making use of Unity's own gravity system combined with physics materials.


This little chunk of code shows you the simple way I spawn in the trash. It is attached to the raccoon that spawns at a random location, which then selects a random piece of garbage and instantiates it in his hand.
In this part of the code you can see what happens when the piece of trash collides with the Hero or a tree. It mainly increases your score and deletes itself.
And in this final piece of code you get an idea of how I handled the making of the menu system
Trash Panda Extern Project
Published:

Trash Panda Extern Project

Published: